/*
* Copyright (c) 2013.
* 游戏服务器核心代码编写人陈磊拥有使用权
* 联系方式：E-mail:13638363871@163.com ;qq:502959937
* 个人博客主页：http://my.oschina.net/chenleijava
*/

package com.dc.gameserver.extComponents.nettyEngine4;

/**
 * @author : 陈磊 <br/>
 *         Date: 13-3-11<br/>
 *         Time: 下午4:06<br/>
 *         connectMethod:13638363871@163.com<br/>
 *         netty server  interface
 */
public interface IServer {

    /**
     * 初始化server配置
     * @return  boolean
     */
    boolean IntiServer();
    /**
     * run netty server
     */
    void run()throws Exception;

    /**
     * run epoll
     * @throws Exception
     */
    public void runNativeEpoll() throws Exception;
}
